package main.java.content.enemy;

import main.java.auxiliary.CommonUtils;
import main.java.auxiliary.Constant;
import main.java.base.BaseElement;
import main.java.base.IElement;
import main.java.base.IHurtPlayer;
import main.java.content.enemy.base.Enemy;
/**
 * @author 吴浩华 陈逸然 吴畏
 * @Description: lab
 * @date 2021/6/11
 */
@IElement(value = "lab.png",
        width = 100,
        height = 100)
public class lab extends BaseElement implements IHurtPlayer {
    public lab(Enemy enemy) {

        super(Constant.FRAME_WIDTH, CommonUtils.nextInt(30,450));
        this.xSpeed = 4;
    }
}